package com.lrkj.payfee.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 仪表箱对象 tb_meter_box
 *
 * @author yajun_ren
 * @date 2021-07-27
 */
public class MeterBox extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仪表箱id */
    private String boxId;

    /** 代码 */
    @Excel(name = "代码")
    private String boxCode;

    /** 名称 */
    @Excel(name = "名称")
    private String boxName;

    /** 所属物业 */
    @Excel(name = "所属物业")
    private String deptId;

    /** 条码 */
    @Excel(name = "条码")
    private String boxBar;

    /** 位置 */
    @Excel(name = "位置")
    private String boxAddress;

    private String deptName;

    /** 祖父ID */
    @Excel(name = "祖父ID")
    private String ancestors;

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setBoxId(String boxId)
    {
        this.boxId = boxId;
    }

    public String getBoxId()
    {
        return boxId;
    }
    public void setBoxCode(String boxCode)
    {
        this.boxCode = boxCode;
    }

    public String getBoxCode()
    {
        return boxCode;
    }
    public void setBoxName(String boxName)
    {
        this.boxName = boxName;
    }

    public String getBoxName()
    {
        return boxName;
    }
    public void setDeptId(String deptId)
    {
        this.deptId = deptId;
    }

    public String getDeptId()
    {
        return deptId;
    }
    public void setBoxBar(String boxBar)
    {
        this.boxBar = boxBar;
    }

    public String getBoxBar()
    {
        return boxBar;
    }
    public void setBoxAddress(String boxAddress)
    {
        this.boxAddress = boxAddress;
    }

    public String getBoxAddress()
    {
        return boxAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("boxId", getBoxId())
            .append("boxCode", getBoxCode())
            .append("boxName", getBoxName())
            .append("deptId", getDeptId())
            .append("boxBar", getBoxBar())
            .append("boxAddress", getBoxAddress())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
